#!/usr/bin/env python
#-*- coding:utf-8 -*-

#随机数的辅助类

import random

class randomHelper(object):

    #随机字母
    @staticmethod
    def rndChar():
        return chr(random.randint(65,90))
    
    # 随机颜色1:
    @staticmethod
    def rndColor():
        return (random.randint(64, 255), random.randint(64, 255), random.randint(64, 255))

    # 随机颜色2:
    @staticmethod
    def rndColor2():
        return (random.randint(32, 127), random.randint(32, 127), random.randint(32, 127))